package com.xinan.ollama.milvus;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Milvus向量库配置
 *
 * @author Administrator
 * @date 2023/07/03
 */
@Data
@Component
@ConfigurationProperties(MilvusConfiguration.PREFIX)
public class MilvusConfiguration {
    public static final String PREFIX = "milvus-config";

    public boolean milvusEnable;
    public String host;
    public int port;
    public String collectionPrefix = "ZD_";
    public int dimension = 768;

}
